﻿using System;
using System.Collections;
using System.Collections.Generic;

using AUV5.Model;

namespace AUV5.DAL.Interface
{
    /// <summary>
    /// 功能：     WithDrawLog 的业务接口，定义业务功能
    /// 作者：     Wilson
    /// 日期：     2012/1/17
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    public interface IWithDrawLogDao
    {
        /// <summary>
        /// 得到最大行数
        /// </summary>
        /// <returns></returns>
        int GetMaxCounts();

        /// <summary>
        /// 得到列表
        /// </summary>
        /// <returns></returns>
        System.Collections.Generic.IList<WithDrawLog> GetList();

        /// <summary>
        /// 通过不同参数得到列表
        /// </summary>
        /// <param name="objParameters"></param>
        /// <returns></returns>
        System.Collections.Generic.IList<WithDrawLog> GetListByParameters(object objParameters);

        /// <summary>
        /// 得到明细
        /// </summary>
        /// <param name="WithdrawLogID"></param>
        /// <returns></returns>
        WithDrawLog GetDetail(System.String withdrawlogid);

        /// <summary>
        /// 新建
        /// </summary>
        object Add(WithDrawLog withdrawlog);

        /// <summary>
        /// 修改
        /// </summary>
        int Update(WithDrawLog withdrawlog);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="WithdrawLogID"></param>
        int Delete(System.String withdrawlogid);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="withdrawlog"></param>
        int Delete(WithDrawLog withdrawlog);

        /// <summary>
        /// 得到提现总额
        /// 创建人：Wilson
        /// 创建时间：2012-1-17
        /// </summary>
        /// <param name="objParameters"></param>
        /// <returns></returns>
        decimal GetTotalAmountByUserId(object objParameters);

        /// <summary>
        /// 通过UserId得到提现记录集合
        /// 创建人：Wilson
        /// 创建时间：2012-1-17    
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        System.Collections.Generic.IList<WithDrawLog> GetWithDrawListByUserId(System.String userId);
    }
}
